package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.CWaybillAddress;
import cn.huiyunche.base.service.model.CWaybillAddressExample;

/**
 * 运单地址 接口类
 *
 * @author lm
 */
public interface CWaybillAddressService {

    /**
     * 创建运单 添加运单地址
     *
     * @param cWaybillAddress
     */
    int addAddress(CWaybillAddress cWaybillAddress);

    /**
     * 根据运单id 获取运单地址信息
     *
     * @param waybillid
     * @return
     */
    CWaybillAddress getByWaybillid(Long waybillid);

    /**
     * 查询运单地址信息
     *
     * @param addressExample
     */
    CWaybillAddress selectByExample(CWaybillAddressExample addressExample);
}
